package com.zzy.demo.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @author guokaige
 *
 */
@Controller
public class IndexController {

	@RequestMapping({ "/", "/index" })
	public String hello() {
		// 取得根目录路径
		return "/index";
	}

}
